auto merge of #988 : Gekkio/cargo/zsh-run-normal-args, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 27 Nov 2014 20:59:12 +0000 (20:59 +0000)
committerbors <bors@rust-lang.org>
Thu, 27 Nov 2014 20:59:12 +0000 (20:59 +0000)
commitd6dbce7d7d83043a65cdd191ef752a603c669905
treeb4fd23154d1c76c2d49e7034c9c6b7231aba7488
parente1dc4bc6130eb603999c63e156f510c5a7fab8ee
parentbfed2084e0026aeb0ee79c6902476b8ef9941ea1
auto merge of #988 : Gekkio/cargo/zsh-run-normal-args, r=alexcrichton

Running a Rust program with some arguments such as files is a common use
case. The ZSH completion did not declare support for extra arguments to
"cargo run", so file completion was impossible. In practice pressing TAB
after writing "cargo run -- " gave no completion at all.

After this patch, cargo run can do "normal completion",
which in practice does file/directory completion. This works nicely
with "cargo run -- ".